package cn.stronglink.asset.module.contract.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.plugins.Page;

import cn.stronglink.asset.model.Contract;
import cn.stronglink.asset.module.contract.vo.ContractNoSelectVo;
import cn.stronglink.asset.module.contract.vo.ContractVo;

public interface ContractMapper {

	List<ContractVo> queryList(Page<ContractVo> page, @Param("params")Map<String, Object> params);

	void create(Contract contract);

	void update(Contract contract);

	void deleteByIds(@Param("ids")List<Long> ids);

	Contract getContractInfo(@Param("id")Long id);

	Integer getIsExist(Contract contract);

	List<ContractNoSelectVo> queryAllContractList();

}
